#include <regx52.h>
#include "oled.h"
#include "delay.h"



int main()
{
    unsigned char flag;
	OLED_Init();
    OLED_ShowString(1,1,"Hello World!");
    
    while (1)
    {
        flag = P1_0;
        OLED_ShowNum(2,1,flag,1);
        Delayms(300);
    }
}

